﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.KaoQin
{
    using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;

    using DB_NH.DB_Model.KaoQin;

    /// <summary>
    /// 考勤记录映射
    /// </summary>
    class map_kqRecord : EntityMapping<kqRecord>
    {
        public map_kqRecord()
        {
            Property(x => x.rYear, map =>
            {
                map.Length(4);
            });

            Property(x => x.rMonth, map =>
            {
                map.Length(2);
            });

            Property(x => x.rDate, map =>
            {

            });

            Property(x => x.rName, map =>
            {
                map.Length(40);
            });
        }
    }
}
